package cn.iocoder.yudao.module.product.convert.productmanagement;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.product.controller.admin.productmanagement.vo.*;
import cn.iocoder.yudao.module.product.dal.dataobject.productmanagement.ProductManagementDO;

/**
 * 产品 Convert
 *
 * @author wcl
 */
@Mapper
public interface ProductManagementConvert {

    ProductManagementConvert INSTANCE = Mappers.getMapper(ProductManagementConvert.class);

    ProductManagementDO convert(ProductManagementCreateReqVO bean);

    ProductManagementDO convert(ProductManagementUpdateReqVO bean);

    ProductManagementRespVO convert(ProductManagementDO bean);

    List<ProductManagementRespVO> convertList(List<ProductManagementDO> list);

    PageResult<ProductManagementRespVO> convertPage(PageResult<ProductManagementDO> page);

}
